package cn.tedu.project.oa.repair.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class RepairFinish {
    @ApiModelProperty(value = "申请者员工编号")
    private Long id;
    @ApiModelProperty(value = "申请者上级编号")
    private Long parentId;
    @ApiModelProperty(value = "资产识别码")
    private String assetCode;
    @ApiModelProperty(value = "资产状态 空闲1 占用2 待修3 修理中4 报废5",required = true)
    private Integer assetStatus;
    @ApiModelProperty(value = "备注")
    private String remark;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "申请时间")
    private Date applicationTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "完成修理时间",required = true)
    private Date repairedTime;
    @ApiModelProperty(value = "实际费用")
    private Double priceActual;
    @ApiModelProperty(value = "驳回原因")
    private String rejectReason;
    @ApiModelProperty(value = "审批状态")
    private Integer status;
}
